﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LoungeRepo.Contracts.Core
{
    public interface ILoungeRepoEntityIdentity
    {
        string Id { get; }
        string Partition { get; }
    }


    public class LoungeRepoEntityIdentity : ILoungeRepoEntityIdentity
    {
        public LoungeRepoEntityIdentity(string id) : this(id, ""){}
        public LoungeRepoEntityIdentity(string id, string partition)
        {
            this.Id = id;
            this.Partition = partition;
        }

        #region Implementation of ILoungeRepoEntityIdentity

        public string Id { get; private set; }

        public string Partition { get; private set; }

        #endregion
    }
}
